package com.geezdata.cps.ttk.mapper.mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.geezdata.cps.cqrs.mapper.base.insert.InsertMapper;
import com.geezdata.cps.cqrs.mapper.base.select.SelectBatchMapper;
import com.geezdata.cps.cqrs.mapper.base.select.SelectByPrimaryKeyMapper;
import com.geezdata.cps.cqrs.mapper.base.select.SelectOneMapper;
import com.geezdata.cps.cqrs.mapper.base.update.UpdateByPrimaryKeyMapper;
import com.geezdata.cps.ttk.domain.domain.User;

public interface UserMapper extends 
		InsertMapper<User, Long>,
		SelectOneMapper<User>,
		SelectByPrimaryKeyMapper<User, Long>,
		SelectBatchMapper<User>,
		UpdateByPrimaryKeyMapper<User> {
	List<String> userCount(Map<String, Object> params);
	Integer count(Map<String, Object> params);
	List<Integer> getLoginMerchant(Date date);
}